﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="frmParametrosGrafico.aspx.vb" Inherits="frmParametrosGrafico" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link href="css/estilo.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/jscolor.js"></script>
    <title>Cambiar Parametros Gr&aacute;fico</title>
</head>
<body>
    <form id="form1" target="_parent" method="post" runat="server" action="frmParametrosGrafico.aspx" >
        <div>
        <input type="hidden" id="colores" runat="server" />
        <input type="hidden" id="idPagina" runat="server" />
        <input type="hidden" id="idGrafico" runat="server" />
        <table>
            <tr>
                <td class='Estilo17' rowspan="<%= TextBox.Length + 1 %>" >Colores</td>
            </tr>
            
            <% For pos As Integer = 0 To TextBox.Length-1%>
            <tr>
                <td class='Estilo17'><%= ColorText(pos) %></td>
                <td class='Estilo17' colspan="2"><%= "<input type='text' class='color' name='" & TextBox(pos).ID & "' value='" & TextBox(pos).Text & "'/>"%></td>
            </tr>
            <% Next%>
            <tr>
                <td><span class='Estilo17'>M&aacute;ximo Izquierdo</span></td>
                <td><span class="Estilo17"><asp:TextBox ID="maximoI" runat="server" TextMode="SingleLine" Width="80"></asp:TextBox></span></td>
                <td><span class="Estilo17">M&aacute;ximo Derecho</span></td>
                <td><span class="Estilo17"><asp:TextBox ID="maximoD" runat="server" TextMode="SingleLine" Width="80"></asp:TextBox></span></td>
            </tr>
            <tr>
                <td><span class='Estilo17'>M&iacute;nimo Izquierdo</span></td>
                <td><span class="Estiolo17"><asp:TextBox id="minimoI" runat="server" TextMode="SingleLine" width="80"></asp:TextBox></span></td>
                <td><span class='Estilo17'>M&iacute;nimo Derecho</span></td>
                <td><span class="Estiolo17">
                    <asp:TextBox id="minimoD" runat="server" TextMode="SingleLine" width="80"></asp:TextBox>
                    </span>
                </td>   
            </tr>
            <tr>
                <td><span class='Estilo17'>Periodos</span></td>
                <td colspan="3">
                    <input id="periodos" type="text" runat="server" />
                    <asp:RangeValidator 
                         id="RangeValidator1" 
                         runat="server" 
                         ErrorMessage="Periodo debe ser mayor a 0" 
                         ControlToValidate="periodos"  
                         MaximumValue="1000"
                         MinimumValue="0" 
                         Type="Integer">*
                    </asp:RangeValidator>
                </td>
            </tr>
            <tr>
                <td><span class='Estilo17'>Etiquetas Vertical?</span></td>
                <td colspan="3"><asp:CheckBox ID="etiquetasVertical" runat="server" /></td>
            </tr>
            <tr><td><asp:Button ID="Button1" runat="server" Text="Guardar"/>
            </td></tr>
        </table>
        
    </div>
    </form>
</body>
</html>
